﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Model.ClienteModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Excluir
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Excluir cadastro</h2>

<h3>Voce tem certeza disso?</h3>
<fieldset>
    <legend>Cliente</legend>

    <div class="display-label">clogin</div>
    <div class="display-field"><%: Model.clogin %></div>

    <div class="display-label">csenha</div>
    <div class="display-field"><%: Model.csenha %></div>

    <div class="display-label">cnome</div>
    <div class="display-field"><%: Model.cnome %></div>

    <div class="display-label">capelido</div>
    <div class="display-field"><%: Model.capelido %></div>

    <div class="display-label">cdatanasc</div>
    <div class="display-field"><%: String.Format("{0:g}", Model.cdatanasc) %></div>

    <div class="display-label">cendereco</div>
    <div class="display-field"><%: Model.cendereco %></div>

    <div class="display-label">cnumero</div>
    <div class="display-field"><%: Model.cnumero %></div>

    <div class="display-label">cbairro</div>
    <div class="display-field"><%: Model.cbairro %></div>

    <div class="display-label">ccomplemento</div>
    <div class="display-field"><%: Model.ccomplemento %></div>

    <div class="display-label">ccep</div>
    <div class="display-field"><%: Model.ccep %></div>

    <div class="display-label">ccidade</div>
    <div class="display-field"><%: Model.ccidade %></div>

    <div class="display-label">cestado</div>
    <div class="display-field"><%: Model.cestado %></div>

    <div class="display-label">ccelular</div>
    <div class="display-field"><%: Model.ccelular %></div>

    <div class="display-label">cemail</div>
    <div class="display-field"><%: Model.cemail %></div>

    <div class="display-label">IDcliente</div>
    <div class="display-field"><%: Model.IDcliente %></div>

    <div class="display-label">cflag</div>
    <div class="display-field"><%: Model.cflag %></div>
</fieldset>
<% using (Html.BeginForm()) { %>
    <p>
        <input type="submit" value="Delete" /> 
        <input type = "reset" value = "Apagar Campos"/>|
        <%: Html.ActionLink("Voltar", "Index") %>
    </p>
<% } %>

</asp:Content>

